package com.mxpio.erp.common.quality.service;

import com.mxpio.erp.common.quality.entity.InspectionBill;
import com.mxpio.erp.common.quality.entity.InspectionBillCheckDetail;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface InspectionBillCheckDetailService extends BaseService<InspectionBillCheckDetail> {

    @Transactional
    int deleteByBizNo(String bizNo);

    Result<Object> checkDetails(InspectionBill bill, List<InspectionBillCheckDetail> details);
}
